package com.zuo.learn;

import java.util.Date;
import java.util.UUID;

public class Crime {
    private UUID mId;           // id read-only
    private String mTitle;      // 罪行的标题
    private Date mData;         // 日期
    private boolean mSolved;    //

    public Crime() {
        mId = UUID.randomUUID();
        mData = new Date();
    }

    public UUID getId() {
        return mId;
    }

    public String getTitle() {
        return mTitle;
    }

    public void setTitle(String title) {
        mTitle = title;
    }

    public Date getData() {
        return mData;
    }

    public void setData(Date data) {
        mData = data;
    }

    public boolean isSolved() {
        return mSolved;
    }

    public void setSolved(boolean solved) {
        mSolved = solved;
    }
}
